<?php
class Block_OtherSites extends Zend_Controller_Action_Helper_Abstract
{
    private $_view;
    
    public function __construct($view) {
        $this->_view = $view;
    }

    public function init() {
        $this->createOtherSitesBlock();
    }

    public function createOtherSitesBlock() {
        $layout = Zend_Controller_Front::getInstance()->getParam('bootstrap')->getResource('Layout');
        $layout->otherSites = $this->_view->partial('other_sites.phtml');
    }

}